home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / dp-206a.zip / COMMAND.DOC < prev    next >
Text File  |  1992-09-14  |  3KB  |  114 lines

  1. +                           Command line mode
  2.  
  3.                         The command-line options
  4.  
  5. F-PROT.EXE is usually run without any parameters and will then enter
  6. interactive mode.  It is also possible to run it in command-line mode,
  7. which was the only possibility with version 1.
  8.  
  9. The available command-line options are
  10.  
  11. /ALL
  12. Specifies that all files should be searched, not just normal "executable"
  13. files.
  14.  
  15. /ANALYSE
  16. Performs a heuristic analysis instead of a signature-based scan. This
  17. approach may cause false positives, and should be used with care.
  18.  
  19. /APPEND
  20. Used with /REPORT. Append the report to an existing file.
  21.  
  22. /AUTO
  23. May be specified with /DELETE or /DISINF so F-PROT will not request
  24. permission before deleting or disinfecting.  The default if only /DELETE
  25. or /DISINF are given is to ask if the file should be disinfected (or
  26. deleted).
  27.  
  28. /BOOT (default) /NOBOOT
  29. Scan/Don't scan for boot sector viruses
  30.  
  31. /COMMAND
  32. Force command-line mode.
  33.  
  34. /DELETE
  35. Delete all infected files, instead of just listing them.
  36.  
  37. /DISINF
  38. Disinfect whenever possible - deletes first-generation samples and files
  39. destroyed by overwriting viruses.  It will never delete a file which can
  40. be disinfected.
  41.  
  42. /FILE (default) /NOFILE
  43. Scan/Don't scan for file viruses
  44.  
  45. /HARD
  46. Scans the entire hard disk.
  47.  
  48. /HELP or /?
  49. Display a list of available options.
  50.  
  51. /INTER
  52. Force interactive mode.
  53.  
  54. /LIST
  55. Produce a report of all files checked, not just those which are infected.
  56.  
  57. /MULTI
  58. Scan multiple diskettes.
  59.  
  60. /NET
  61. Scans any network "drives" found.
  62.  
  63. /NOBREAK
  64. Disables ESC during scanning
  65.  
  66. /NOMEM
  67. Skip the memory scan.
  68.  
  69. /NOWRAP
  70. Do not wrap text in the report.
  71.  
  72. /OLD
  73. Do not display the "This version of the program is rather old" message.
  74.  
  75. /PACKED (default) /NOPACKED
  76. Search/Don't search inside packed files.
  77.  
  78. /QUICK
  79. Faster search, but not as accurate.
  80.  
  81. /RENAME
  82. Rename infected files to *.VOM or *.VXE.
  83.  
  84. /REPORT=file
  85. Sends the output to a file, in addition to displaying it on the screen.
  86.  
  87. /SILENT
  88. Generates no screen output at all - useful if you want to run the program
  89. from a batch file, and only check the return code.
  90.  
  91. /TROJAN (default) /NOTROJAN
  92. Search/Don't search for some Trojans and joke programs as well as viruses.
  93.  
  94. /USER /NOUSER (default)
  95. Search/Don't search for user-defined virus patterns.  This option should
  96. only be used if absolutely neccessary, as it may result in a considerable
  97. speed decrease.
  98.  
  99.                           Return status
  100.  
  101. The program uses the following exit codes, which can be checked with the
  102. ERRORLEVEL command from a BAT file.
  103.  
  104.     0 - Normal exit nothing found
  105.     1 - Abnormal termination - unrecoverable error (usually a missing
  106.         system file)
  107.     2 - Selftest failed - program has been modified.
  108.     3 - A Boot/File virus infection found.
  109.     4 - Virus signatures found in memory.
  110.     5 - Program terminated with ^C.
  111.     6 - At least one virus was removed.  This code is only meaningful if
  112.         the program is used to scan just a single file.
  113.  
  114.